package com.example.dormitory.entity;

import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.example.dormitory.utils.Entity;
import java.util.Date;


/**
 * 
 * @author 596183363@qq.com
 * @time 2021-11-17 11:33:51
 */
public class Repair extends Entity{

	/**
	 * 
	 */
	private Integer id;
	/**
	 * 
	 */
	private Integer student;
	/**
	 * 
	 */
	private Integer dormitory;
	/**
	 * 
	 */
	private Integer buildID;
	/**
	 * 
	 */
	@Length(max = 0)
	private String remark;
	/**
	 * 
	 */
	private Date data;
	/**
	 * 
	 */
	private Integer state;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getStudent() {
		return student;
	}
	public void setStudent(Integer student) {
		this.student = student;
	}
	public Integer getDormitory() {
		return dormitory;
	}
	public void setDormitory(Integer dormitory) {
		this.dormitory = dormitory;
	}
	public Integer getBuildID() {
		return buildID;
	}
	public void setBuildID(Integer buildID) {
		this.buildID = buildID;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getData() {
		return data;
	}
	public void setData(Date data) {
		this.data = data;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
}